//
//  BuysuccessViewController.m
//  GoodWayClient
//
//  Created by newhuidong on 15/12/22.
//  Copyright © 2015年 HuiDong. All rights reserved.
//

#import "BuysuccessViewController.h"

@interface BuysuccessViewController ()

@end

@implementation BuysuccessViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.backButton.layer.cornerRadius=5;
    self.backButton.layer.masksToBounds=YES;
}

-(void)viewWillAppear:(BOOL)animated{
    self.navigationController.navigationBar.tintColor=[UIColor whiteColor];
    
    [[UIBarButtonItem appearance] setBackButtonTitlePositionAdjustment:UIOffsetMake(0, -60) forBarMetrics:UIBarMetricsDefault];
    
}
- (IBAction)backHomePage:(id)sender {
    
    [self.navigationController popToRootViewControllerAnimated:YES];
    
}

@end
